package com.yunhe.tianhe.rentcars.service.client;

import com.yunhe.tianhe.commons.dto.Pageable;
import com.yunhe.tianhe.rentcars.entity.client.BlackClient;

/**
 * Created by Administrator on 2017/11/27 0027.
 */
public interface BlackClientService {

    /**
     * 增加
     * @param blackClient
     */
    void save(BlackClient blackClient);

    /**
     * 删除
     * @param id
     */
    void deleteBatch(String id);

    /**
     * 修改
     * @param blackClient
     */
    void update(BlackClient blackClient);

    /**
     * 查询分页列表
     * @param offset
     * @param limit
     * @return
     */
    Pageable<BlackClient> findPage(Integer offset, Integer limit, String name, String mobile, String idCard);

    /**
     * 查找某个黑名单客户
     * @param id
     * @return
     */
    BlackClient findOne(Long id);

}
